<script type="text/javascript" src="<?php echo base_url(); ?>resource/script/login.js"></script>

<div id="background" style="display:none"></div>
<div id="login" style="display:none">
    <div id="login-header">
        <h3>Đăng nhập vào website</h3>
        <a id="close" href="#"></a>
    </div>
    <form>
        <div class="login-text">
            <label for='username'>Tên đăng nhập:</label>
            <input type="text" id='un' name='un' required maxlength='50'>
        </div>
        <div class="login-text">
            <label for='password'>Mật khẩu:</label>
            <input type="password" id='pw' name='pw' required maxlength='50'>
        </div>
        <div class='check'>
            <label>
                <input type="checkbox" id='checkremember' > Ghi nhớ lần sau?
            </label>
        </div>
        <div id='errorlogin' class="login-error"></div>
        <div class="login-button">
            <input type="button" id='clicklogin' class="btn" value='Đăng nhập'>
            <button type="reset" class="btn" style="margin-left: 10px;">Hủy</button>
        </div>
        <input type="hidden" id="base" value="<?php echo base_url(); ?>"/>
        <input type="hidden" id="current" value="<?php echo current_url(); ?>"/>
    </form>
</div>